package com.zp.self.module.level_1_问道.II_集合问题;

import com.google.common.collect.Lists;
import org.junit.Test;

import java.util.*;

/**
 * @description : 查看 Stack 的源码
 */
public class II_2_Stack_Queue_Deque_PriorityQueue {

    @Test
    public void init(){
        Stack<String> stack = new Stack<>();
        System.out.println(stack.pop());


        ArrayDeque<String> queue = new ArrayDeque<>();
        System.out.println(queue.poll());

        LinkedList<String> queue2 = new LinkedList<>();
        System.out.println(queue.poll());

        PriorityQueue<String> priorityQueue = new PriorityQueue<>();
        System.out.println(queue.poll());
    }


    @Test
    public void test(){

    }
}